package com.example.demo.service;

import com.example.demo.model.*;

import java.util.List;

public interface MyService {
    List<Clothes> selectAllClothes();
    List<Product> selectAllProduct();
    List<Bag> selectAllBag();
    List<Furniture> selectAllFurniture();
    List<Bag> selectByType(int type);
    List<Thing> selectAllThing();
    int buyClothes(Clothes clothes);
    int buyProduct(Product product);
    List<Diary> readDiary();
    int writeDiary(String text);
    Player selectPlayer(int id);
    Enemy randomSelect(String area);
    int save(List<String> list);
    int updateMoney(int money);
    void equip(Bag bag);
    void useThing(Thing thing);

}
